﻿<custom:TabPageControl x:Class="MIXer.Views.HomeView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:custom="clr-namespace:MIXer.Customization"
             xmlns:cal="http://www.caliburnproject.org">
    <Grid>
        <Grid.Resources>
            <Style x:Key="HyperlinkButton" TargetType="Button">
                <Setter Property="Template">
                    <Setter.Value>
                        <ControlTemplate TargetType="Button">
                            <ContentPresenter/>
                        </ControlTemplate>
                    </Setter.Value>
                </Setter>
            </Style>
        </Grid.Resources>
        <StackPanel Orientation="Vertical">
            <TextBlock TextWrapping="Wrap">
                    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
            </TextBlock>
            <TextBlock FontWeight="Bold" Margin="0 10 0 0">
                This application makes use of the following libraries:
            </TextBlock>
            <Button Style="{StaticResource HyperlinkButton}" Focusable="False" Margin="10 10 0 0"
                        cal:Message.Attach="[Event Click] = [Action GoTo('http://caliburnmicro.codeplex.com/')]">
                <TextBlock><Hyperlink>Caliburn.Micro</Hyperlink></TextBlock>
            </Button>
            <Button Style="{StaticResource HyperlinkButton}" Focusable="False" Margin="10 10 0 0"
                        cal:Message.Attach="[Event Click] = [Action GoTo('http://argotic.codeplex.com/')]">
                <TextBlock><Hyperlink>Argotic Syndication Framework</Hyperlink></TextBlock>
            </Button>
            <TextBlock Margin="10 10 10 10">
                Also all images used are from 
                <Button Style="{StaticResource HyperlinkButton}" Focusable="False"
                        cal:Message.Attach="[Event Click] = [Action GoTo('http://www.famfamfam.com/lab/icons/silk/')]">
                <TextBlock><Hyperlink>famfamfam silk icon set</Hyperlink></TextBlock>
            </Button>
            </TextBlock>
            <TextBlock Margin="10 10 10 10">
                Logo was taken from the 
                <Button Style="{StaticResource HyperlinkButton}" Focusable="False"
                        cal:Message.Attach="[Event Click] = [Action GoTo('http://wefunction.com/2008/07/function-free-icon-set/')]">
                <TextBlock><Hyperlink>Function Free Icon Set</Hyperlink></TextBlock>
            </Button>
            </TextBlock>
        </StackPanel>
        <StackPanel Orientation="Horizontal" VerticalAlignment="Bottom">
            <TextBlock Text="MIXer" FontWeight="Bold" FontSize="16" Margin="0 0 5 0" VerticalAlignment="Bottom"/>
            <TextBlock VerticalAlignment="Bottom">
                developed by 
                <Button Style="{StaticResource HyperlinkButton}" Focusable="False" VerticalContentAlignment="Bottom" VerticalAlignment="Bottom"
                        cal:Message.Attach="[Event Click] = [Action GoTo('http://twitter.com/#!/rguerreiro')]">
                    <TextBlock VerticalAlignment="Bottom"><Hyperlink BaselineAlignment="Bottom">@rguerreiro</Hyperlink></TextBlock>
                </Button>
            </TextBlock>
        </StackPanel>
    </Grid>
</custom:TabPageControl>
